<%@page isELIgnored="false" %>
<%@ page session="true" %>
<%@page import="java.util.Date" %>
<%@page contentType="text/html; charset=utf-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>login</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath }/css/style.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath }/js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath }/js/time.js"></script>
    <script type="text/javascript">
    </script>
</head>

<body style="background-image: url('../img/bg.png');background-repeat: no-repeat;background-size: cover;">
<div id="wrap" style="margin: 200px auto">
    <div id="top_content">
        <div id="header">
            <div id="rightheader">
                <p>
                    <span id="time"></span>
                    <script type="text/javascript">
                        showtime();
                    </script>
                    <br/>
                </p>
            </div>
            <div id="topheader">
                <h1 id="title">
                    <a href="javascript:;">交通银行员工管理系统</a>
                </h1>
            </div>
            <div id="navigation">
            </div>
        </div>
        <div id="content">
            <p id="whereami">
            </p>
            <h1>
                员工登录
            </h1>
            <form id="inputForm" action="/bank_ems/user/login" method="post">
                <table cellpadding="0" cellspacing="0" border="0"
                       class="form_table">
                    <tr>
                        <td colspan="2" style="color: red" align="center">
                            ${sessionScope.message}
                        </td>

                    </tr>
                    <tr>
                        <td valign="middle" align="right">
                            用户名:
                        </td>
                        <td valign="middle" align="left">
                            <input type="text" class="inputgri" name="username"/>
                        </td>
                    </tr>
                    <tr>
                        <td valign="middle" align="right">
                            密码:
                        </td>
                        <td valign="middle" align="left">
                            <input type="password" class="inputgri" name="password"/>
                        </td>
                    </tr>
                    <tr>
                        <td valign="middle" align="right">

                        </td>
                        <td valign="middle" align="left" style="color: red">
                            ${sessionScope.message}
                        </td>
                    </tr>

                </table>
                <p>
                    <input type="submit" class="button" value="Submit &raquo;"/>
                    <input type="button" class="button" value="Regist &raquo;" onclick="regist()"/>
                </p>
            </form>
        </div>
    </div>
    <div id="footer">
        <div id="footer_bg">
            联系我们:xxx@163.com
        </div>
    </div>
</div>

</body>
<script>
    function regist() {
        location.href = "regist.jsp";
    }
</script>
</html>
